﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ProximateAnalysis.aspx.cs" Inherits="Admin_ProxAnalysis" Title="Admin ~ Proximity Analysis" %>
<%@ Register src="../Usercontrols/Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="../Usercontrols/Menu1.ascx" tagname="Menu1" tagprefix="uc2" %>
<%@ Register src="../Usercontrols/Footer.ascx" tagname="Footer" tagprefix="uc3" %>
<%@ Register src="../Usercontrols/Menu2.ascx" tagname="Menu2" tagprefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <table cellpadding="0" cellspacing="0" width="100%">
    <tr>         
        <td align="center" >
           <table cellpadding="0" cellspacing="0" width="900px" >
             
              <tr>
                 <td align="center"  valign="top"> 
                     <uc1:Header ID="Header2" runat="server" />
                 </td>
              </tr>
               
              <tr>
                    <td align="right">
                        <uc2:Menu1 ID="Menu1" runat="server" />
                    </td>
               </tr>
                    
              <tr>
                   <td align="center" valign="top" >        
                     
                     <table cellpadding="5" cellspacing="0" width="100%" class="mainTableBkg">
                        
                        <tr valign="top" align="left">
                            <td>
                                    <table >
                                         
                                          <tr>
                                                    <td colspan="3" class="ashBkg">
                                                         <uc5:Menu2 ID="Menu21" runat="server" />
                                                    </td>
                                              </tr>
                                                
                                          <tr valign="top" align="left" >                                    
                                                                <td> 
                                                                    <table>
                                                                        <tr>
                                                                            <td class="adminHeading">PROXIMATE ANALYSIS</td>
                                                                            <td align="left" ><asp:Label ID="lblMessage" CssClass="messageLabel" runat="server" ></asp:Label></td>
                                                                            <td align="right" > <asp:Label ID="lblExpdetails" runat="server" CssClass="informationLabe"></asp:Label> </td>
                                                                        </tr>
                                                                
                                                                    </table>
                                                                </td>
                                                 </tr>   
                                                            
                                          <tr id="trProxAnal" runat="server" >
                                                            <td>
                                                                <table style="width: 802px" >
                                                                      <tr class="ashBkg" Id="trConId" visible="false" runat="server" >
                                                                        <td class='label' style="width: 144px">Proxmiateana Id</td>
                                                                        <td style="height: 25px"><asp:TextBox ID="txtProID" runat="server" cssclass='textBox' Width='250px' MaxLength="50"></asp:TextBox></td>
                                                                      </tr> 
                                                                                      
                                                                    <tr class="ashBkg" id="trUserCode" runat="server"  >
                                                                        <td class='label' style="width: 144px">Moisture Status</td>
                                                                        <td>
                                                                            <asp:DropDownList ID="ddlMoistureStatus" runat="server" CssClass="dropdownlist">
                                                                                <asp:ListItem>as received</asp:ListItem>
                                                                                <asp:ListItem>dry</asp:ListItem>
                                                                                <asp:ListItem>dry ash-free</asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </td>
                                                                    </tr> 
                                                                    
                                                                    <tr class="altanateAshBkg">
                                                                        <td class='label' style="width: 144px">Moisture (wt%)</td>
                                                                        <td style="height: 25px">
                                                                            <asp:TextBox ID="txtMoisture" runat="server"  
                                                                                cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                                                    </tr> 
                                                                    
                                                                    <tr class="ashBkg">
                                                                        <td class='label' style="width: 144px">Ash (wt%)</td>
                                                                        <td><asp:TextBox ID="txtAsh" runat="server" cssclass='textBox' Width='45px' 
                                                                                MaxLength="50"></asp:TextBox></td>
                                                                    </tr>   
                                                                    
                                                                    <tr class="altanateAshBkg">
                                                                        <td class='label' style="height: 22px; width: 144px;">Volatiles (wt%)</td>
                                                                        <td style="height: 22px"> 
                                                                            <asp:TextBox ID="txtVolatiles" runat="server" 
                                                                                cssclass='textBox' Width='45px' MaxLength="50"></asp:TextBox></td>
                                                                    </tr>
                                                                    
                                                                    <tr class="ashBkg">
                                                                       <td class='label' style="width: 144px">Fixed Carbon (wt%)</td>
                                                                       <td><asp:TextBox ID="txtFixedCarbon" runat="server" cssclass='textBox' 
                                                                               Width='45px' MaxLength="100"></asp:TextBox></td>
                                                                    </tr>
                                                                                                                  
                                                                    <tr class="altanateAshBkg">
                                                                         <td style="height: 10px" colspan="2"> 
                                                                            <table >
                                                                                <tr>
                                                                                    <td>
                                                                                     <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/btnSave.jpg" 
                                                                                 onclick="btnSave_Click1" />
                                                                                    </td>
                                                                                    <td>
                                                                                    <asp:Button ID="btnPreviousRecord" Text="Previous Records" runat="server" 
                                                                                            CssClass="button" onclick="btnPreviousRecord_Click" />
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                            
                                                                             </td>
                                                                    </tr>
                                                        
                                                                </table>                            
                                                            </td>
                                               </tr>                  
                                                  
                                          <tr id="trDgProximateAnalysis" runat="server" >
                                                        <td align="left"   style="padding-left:5px;" colspan='2'>
                                                            <asp:GridView  AllowSorting="true" AutoGenerateEditButton="true" 
                                                                AllowPaging="true" AutoGenerateColumns="false" ID="dgProxanal" 
                                                                runat="server" onrowediting="dgProxanal_RowEditing" 
                                                                onpageindexchanging="dgProxanal_PageIndexChanging" Width="888px">
                                                                <Columns>  
                                                                <%--<asp:CommandField ButtonType="Image" ShowDeleteButton="true" DeleteImageUrl="~/Images/Delete-16x16.png"  DeleteText="Delete" Visible="true" />                                                                                --%>
                                                                     <asp:BoundField  DataField="id" HeaderText="Id" />
                                                                    <asp:BoundField  DataField="moistureStatus" HeaderText="MoistureStatus" />
                                                                    <asp:BoundField  DataField="moisture" HeaderText="Moisture" />
                                                                    <asp:BoundField  DataField="ash" HeaderText="Ash"/>
                                                                    <asp:BoundField  DataField="volatiles" HeaderText="Volatiles" />
                                                                    <asp:BoundField  DataField="fixedcarbon" HeaderText="FixedCarbon" />
                                                                 </Columns>
                                                                <HeaderStyle CssClass="gridHeading" />
                                                                <AlternatingRowStyle CssClass="gridAltRowStyleStyle" />                                                                                        
                                                                <RowStyle CssClass="gridRowStyle" />                                                                                       
                                                                <PagerStyle />
                                                                <EditRowStyle CssClass="gridEditRow" />                                     
                                                            </asp:GridView>
                                                        </td>
                                                    </tr> 
                                                     
                           
                                    </table>
                            </td>
                        </tr>               
                         
                     </table>
                     
                   </td>        
                </tr>  
                                                   
              <tr>
                        <td>    
                            <uc3:Footer ID="Footer2" runat="server" />
                        </td>
                   </tr> 
                    
             </table>
           </td> 
      </tr>
 </table> 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      
</asp:Content>

